package indoor.nexd.com.nexdmap.model;

import com.litesuits.orm.db.annotation.Column;
import com.litesuits.orm.db.annotation.NotNull;
import com.litesuits.orm.db.annotation.PrimaryKey;
import com.litesuits.orm.db.annotation.Table;
import com.litesuits.orm.db.enums.AssignType;

import java.io.Serializable;

/**
 * Created by xun on 2016/3/22.
 */

@Table("mallconfig")
public class Mallconfig {
    @Override
    public String toString() {
        return "Mallconfig{" +
                "id=" + id +
                ", mallID='" + mallID + '\'' +
                ", md5='" + md5 + '\'' +
                '}';
    }

    @PrimaryKey(AssignType.AUTO_INCREMENT)
    @Column("_id")
    private int id;

    @Column("mallID")
    private String mallID;

    @NotNull
    @Column("md5")
    private String md5;

    public String getMallID() {
        return mallID;
    }

    public String getMd5() {
        return md5;
    }

    public void setMallID(String mallID) {
        this.mallID = mallID;
    }

    public void setMd5(String md5) {
        this.md5 = md5;
    }

}
